<tagLib name="html" />
<include file="../Public/header" />

<div id="main" class="main" >
<div class="content">
<div class="title">编辑数据 [ <A HREF="__URL__">返回列表</A> ]</div>
<FORM METHOD=POST id="form1" action="__URL__/update/" onsubmit="return CheckForm(this)">

<TABLE cellpadding=3 cellspacing=3>
<iterate name="list" id="voList">
<eq name="voList['FIELD']" value="xh">
<TR>
	<TD class="tRight" >学号：</TD>
	<TD class="tLeft" >{$vo.xh}</TD>
</TR>
</eq>
<neq name="voList['FIELD']" value="xh">
<TR>
	<TD valign="top" class="tRight" >{$voList.COMMENT}：</TD>
	<TD class="tLeft" >
	<!--是TEXT标签的时候-->
	<eq name="voList['INPUT']" value="text">
		<INPUT TYPE="text" id="{$voList.FIELD}"  NAME="{$voList.FIELD}" size="{$voList.LENGTH}" value="{$vo[$voList['FIELD']]}" class="<eq name="voList['REQUIRE']" value="1" >bLeftRequire</eq>" check='<eq name="voList['REQUIRE']" value="1" >Require</eq>' warning="{$voList.COMMENT}不能为空" <eq name="voList['ISCODE']" value="1">readonly</eq>>	</eq>
	<!--是DATE标签的时候-->
	<eq name="voList['INPUT']" value="date">
		<INPUT TYPE="text" id="{$voList.FIELD}"  NAME="{$voList.FIELD}" class="<eq name="voList['REQUIRE']" value="1" >bLeftRequire</eq>" check='<eq name="voList['REQUIRE']" value="1" >Require</eq>' warning="{$voList.COMMENT}不能为空" size="{$voList.LENGTH}" value="{$vo[$voList['FIELD']]}" onfocus="calendar();" readonly>	
	</eq>		
	<!--是TEXTAREA标签的时候-->
	<eq name="voList['INPUT']" value="textarea">
		<TEXTAREA class="large bLeft"  NAME="{$voList.FIELD}" ROWS="5" COLS="57">{$vo[$voList['FIELD']]}</TEXTAREA>
	</eq>
	<!--是SELECT标签的时候-->
	<eq name="voList['INPUT']" value="select">		<select id="{$voList.FIELD}" name="{$voList.FIELD}" onchange="selectReturnValue('{$voList.FIELD}','{$voList.RELNAME}');">
		<option value="" >==请选择==</option><sublist name="voList['codes']" id="sub">
		<option value="{$sub['CODE']}" <eq name="vo[$voList['FIELD']]" value="$sub['CODE']" >selected</eq>>{$sub['CODENAME']}</option>
			</sublist>
		</select>
	</eq>	</TD>
</TR>

</neq>

</iterate>
<!--<TR>
	<TD class="tRight" >姓名：</TD>
	<TD class="tLeft" ><INPUT TYPE="text" class="medium bLeftRequire"  check='Require' warning="姓名不能为空" NAME="xm" value="{$vo.xm}"></TD>
</TR>
<TR>
	<TD class="tRight">性别：</TD>
	<TD class="tLeft"><SELECT class="small bLeft"  NAME="xb">
	<option <eq name="vo.xb" value="男" >selected</eq> value="男">男</option>
	<option <eq name="vo.xb" value="女" >selected</eq> value="女">女</option>
	</SELECT></TD>
</TR>
<TR>
	<TD class="tRight" >院系：</TD>
	<TD class="tLeft" ><INPUT TYPE="text" class="medium bLeft" NAME="yx" value="{$vo.yx}"></TD>
</TR>
<TR>
	<TD class="tRight" >专业：</TD>
	<TD class="tLeft" ><INPUT TYPE="text" class="medium bLeft" NAME="zy" value="{$vo.zy}"></TD>
</TR>
<TR>
	<TD class="tRight" >班级：</TD>
	<TD class="tLeft" ><INPUT TYPE="text" class="medium bLeft" NAME="bj" value="{$vo.bj}"></TD>
</TR>
<TR>
	<TD class="tRight" >年级：</TD>
	<TD class="tLeft" ><INPUT TYPE="text" class="medium bLeft" NAME="nj" value="{$vo.nj}"></TD>
</TR>-->



<TR>
<TD ></TD>
	<TD class="center"><INPUT TYPE="hidden" name="xh" value="{$vo.xh}" >
	<INPUT TYPE="submit" value="保 存" class="small submit">
	<INPUT TYPE="reset" class="submit  small" value="清 空" >
	</TD>
</TR>
</TABLE>
</FORM>
</div>
</div>
<!-- 主页面结束 -->
{// 加载尾部公共文件 }
<include file="../Public/footer" /> 